#ifndef _CANDIDATESTRINGCLASS_H_
#define _CANDIDATASTRINGCLASS_H_

class CandidateStringClass
{
private:
	LPCANDIDATEINFO lpCandInfo;
	LPCANDIDATELIST lpCandList;
	static BOOL isInit;
	static UINT pageSize;
public:
	CandidateStringClass(LPCANDIDATEINFO lpCandInfo);
	VOID ClearCandidateStr();
	VOID Initial();
	std::wstring GetCode(UINT seletIndex) CONST;
	VOID SetCandidateCount(UINT count);
	UINT GetCandidateCount() CONST;
	UINT GetCurrentPageStart() CONST;
	UINT GetPageSize() CONST;
	VOID SetCandidateStr(CONST LPTSTR lpTxt,UINT index);
	BOOL HavePreviousPage() CONST;
	BOOL HaveNextPage() CONST;
	BOOL GoToPreviousPage();
	BOOL GoToNextPage();
};
#endif